package com.wxxymaker.edu.model.entity;

import io.github.biezhi.anima.Model;
import io.github.biezhi.anima.annotation.Column;
import io.github.biezhi.anima.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @AUTHOR soft
 * @DATE 2018/9/7 10:08
 * @DESCRIBE 图片资源表
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Table(name = "image_info")
public class ImageInfo extends Model {
    private Integer id;

    private Integer userId; // 上传者id

    private Integer type;   // 默认 0 其他图片 1 主页大图

    private String  path;   // 图片路径

    @Column(name = "use0")
    private Integer use0;    // 图片是否被使用 默认0没有 1使用

    private String  time;
}
